/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.awt.Color;

/**
 *
 * @author Benjamin
 */
public class Case {
    private Color couleur;
    private boolean occupe;
    
    public Case(Color couleur, boolean occupe){
        this.couleur = couleur;
        this.occupe = occupe;
    }
    
    public boolean getOccupe(){
        return this.occupe;
    }
    public Color getColor(){
        return couleur;
    }

    public void setCouleur(Color couleur) {
        this.couleur = couleur;
    }

    public void setOccupe(boolean occupe) {
        this.occupe = occupe;
    }
    
    public void clear(){
        this.occupe = false;
        this.couleur = Color.white;
    }
    
    
}
